package com.baselibrary.bean;

import java.io.Serializable;
import java.util.List;

public class ShopBannerData implements Serializable {


    /**
     * success : true
     * data : [{"id":8,"sid":0,"image":"http://39.107.247.82:30002/storage/651*330*64c94820c5d82595b7eeb9a7e26f1419.jpg","url":"www.baidu.com","type":1,"status":1,"objectId":0,"objectType":0,"bannerType":3,"terminalType":0,"failureTime":0,"ctime":1575082317717,"utime":1591438803798,"sort":3,"name":"酒文化"},{"id":1,"sid":0,"image":"http://39.107.247.82:30002/storage/869*438*f31f3e0a1e1b71557ebce5c4ac9d9efd.jpg","url":"www.deng.com","type":1,"status":1,"objectId":0,"objectType":0,"bannerType":3,"terminalType":0,"failureTime":0,"ctime":1569038711546,"utime":1591673549290,"sort":2,"name":"窖藏经典红酒"}]
     * code : 0
     */

    private boolean success;
    private int code;
    private List<DataBean> data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * id : 8
         * sid : 0
         * image : http://39.107.247.82:30002/storage/651*330*64c94820c5d82595b7eeb9a7e26f1419.jpg
         * url : www.baidu.com
         * type : 1
         * status : 1
         * objectId : 0
         * objectType : 0
         * bannerType : 3
         * terminalType : 0
         * failureTime : 0
         * ctime : 1575082317717
         * utime : 1591438803798
         * sort : 3
         * name : 酒文化
         */

        private int id;
        private int sid;
        private String image;
        private String url;
        private int type;
        private int status;
        private int objectId;
        private int objectType;
        private int bannerType;
        private int terminalType;
        private int failureTime;
        private long ctime;
        private long utime;
        private int sort;
        private String routeUrl;
        private String name;
        private String content;

        public String getRouteUrl() {
            return routeUrl;
        }

        public void setRouteUrl(String routeUrl) {
            this.routeUrl = routeUrl;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getSid() {
            return sid;
        }

        public void setSid(int sid) {
            this.sid = sid;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getObjectId() {
            return objectId;
        }

        public void setObjectId(int objectId) {
            this.objectId = objectId;
        }

        public int getObjectType() {
            return objectType;
        }

        public void setObjectType(int objectType) {
            this.objectType = objectType;
        }

        public int getBannerType() {
            return bannerType;
        }

        public void setBannerType(int bannerType) {
            this.bannerType = bannerType;
        }

        public int getTerminalType() {
            return terminalType;
        }

        public void setTerminalType(int terminalType) {
            this.terminalType = terminalType;
        }

        public int getFailureTime() {
            return failureTime;
        }

        public void setFailureTime(int failureTime) {
            this.failureTime = failureTime;
        }

        public long getCtime() {
            return ctime;
        }

        public void setCtime(long ctime) {
            this.ctime = ctime;
        }

        public long getUtime() {
            return utime;
        }

        public void setUtime(long utime) {
            this.utime = utime;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", sid=" + sid +
                    ", image='" + image + '\'' +
                    ", url='" + url + '\'' +
                    ", type=" + type +
                    ", status=" + status +
                    ", objectId=" + objectId +
                    ", objectType=" + objectType +
                    ", bannerType=" + bannerType +
                    ", terminalType=" + terminalType +
                    ", failureTime=" + failureTime +
                    ", ctime=" + ctime +
                    ", utime=" + utime +
                    ", sort=" + sort +
                    ", name='" + name + '\'' +
                    '}';
        }
    }
}
